package com.hospital.hospitalrelay.web;


import com.hospital.hospitalrelay.entity.Medicalrecordtype;
import com.hospital.hospitalrelay.service.IMedicalrecordtypeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 * <p>
 * 接诊类型表 前端控制器
 * </p>
 *
 * @author 闫腾腾
 * @since 2020-10-21
 */
@RestController
@RequestMapping("/medicalrecordtype")
public class MedicalrecordtypeController {

    @Autowired
    private IMedicalrecordtypeService iMedicalrecordtypeService;

    //接诊类型列表
    @RequestMapping("jztypelist")
    public List<Medicalrecordtype> indentslist(){
        return iMedicalrecordtypeService.list();
    }

}
